import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import axios from 'axios';

// 引入公共样式
import './assets/css/common.css'

// 引入公共方法
import utils from './utils/index.js'

// 给axios重命名并挂在vue实例上
Vue.prototype.Axios = axios;
Vue.prototype.Utils = utils;

// 引入lib-flexible
import 'lib-flexible';

Vue.use(ElementUI);

Vue.config.productionTip = false;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
